home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / x11 / graphics / gimp.build_notes.osr5 < prev    next >
Text File  |  1997-08-26  |  4KB  |  151 lines

  1.  
  2.                   Build notes for The Gimp v0.99.10
  3.                        for SCO OpenServer 5.0.*
  4.  
  5.             Steve Ginzburg <stevegi@sco.com> -- July 1997
  6.  
  7.  
  8. NOTE:  This is (essentially) a beta version of The Gimp.  I have used
  9. it quite a bit, and it is _mostly_ stable.  It does crash occasionally.
  10. It does put some debugging messages on stderr.  Watch the Gimp website
  11. (http://www.xcf.berkeley.edu/~gimp/) for information about the upcoming
  12. release version 1.0.
  13.  
  14.  
  15.   - If you have a previous version of The Gimp installed,
  16.     remove all gimp libraries and header files from /usr/local/lib
  17.     and /usr/local/include respectively.  Also rm -rf .gimp in all
  18.     user home directories.
  19.  
  20.  
  21.   - Virgin source from ftp://ftp.xcf.berkeley.edu/pub/gimp/developers/
  22.     You'll need "gimp-0.99.10.tar.gz" and "gimp-data-0.99.9.tar.gz".
  23.  
  24.  
  25.   - Unpack the gimp-0.99.10.tar.gz archive first.
  26.   
  27.  
  28.   - Apply patches from http://copper.ucs.indiana.edu/~sgoehrin/gimp/patches/
  29.  
  30.     - Download the "all-patches.gz" file and gunzip it.
  31.  
  32.     - From the directory _containing_ the directory "gimp-0.99.10",
  33.       run "patch < all-patches".
  34.  
  35.  
  36.   - Needs tiff, jpeg, xpm libraries for the corresponding plug-ins to compile.
  37.  
  38.  
  39.   - gtk+/Configure.in, line 75, add $X_EXTRA_LIBS to last arg.
  40.  
  41.      - Without this fix, "configure" fails to realize that we need
  42.       the -lXext on our link line.
  43.  
  44.     - I submitted this fix to the gimp developers' mailing list.
  45.       (It should be fixed in the next release.)
  46.  
  47.     - Need autoconf to remake the ./configure script from Configure.in.
  48.       Autoconf requires m4.
  49.  
  50.         - Both are available from ftp://ftp.gnu.ai.mit.edu/pub/gnu/
  51.  
  52.         - Both build cleanly from virgin source with "./configure"
  53.           followed by "make" followed by "make install".
  54.  
  55.         - After autoconf is installed, cd to gtk+ and type "autoconf"
  56.           The warning message about cross-compilation can be safely
  57.           ignored.
  58.  
  59.  
  60.   - Fix or remove the C++-style comment in plug-ins/sinus.c, line 724.
  61.  
  62.  
  63.   - If your jpeg library is old, you may have to change the order of
  64.     the #include lines in plug-ins/jpeg.c.  Try putting the <jpeglib.h>
  65.     line last.  This solves weird errors about redefined symbols from
  66.     <math.h>.
  67.  
  68.  
  69.   - If you have gcc installed, set the environment variable "CC=cc"
  70.     before running "./configure"
  71.  
  72.  
  73.   - Optimization breaks things.  Don't use it.  "gcc" optimization isn't
  74.     any better.  I tried it.  It breaks different things.
  75.  
  76.  
  77.   - Make sure your FLAGS and LIBS lines in /etc/default/cc contain the
  78.     following options:
  79.  
  80.     FLAGS=-I/usr/local/include -DMAXPATHLEN=1024
  81.     LIBS=-L/usr/local/lib
  82.  
  83.  
  84.   - I ran out of virtual memory the first time I tried to link the main
  85.     app binary.  If you have problems, try adding a swap file using the
  86.     "/etc/swap -a" command.
  87.  
  88.  
  89.   - Type 'make install'.  Come back a long time later.  (This took several
  90.     hours on a 486-75 w/32 megs of RAM.  It took about 1/2 an hour on a
  91.     Cyrix 6x86/166.)
  92.  
  93.  
  94.   - "gimp" binary is ~16 megs if -g option used.  Be sure to strip and
  95.     mcs -d.  This brings it below 1 meg.  Also strip/mcs -d everything
  96.     in /usr/local/lib/gimp/0.99.10/plug-ins
  97.  
  98.  
  99.   - Rename "gimp" to "gimp.real" and create the following shell-script
  100.     wrapper for running The Gimp:
  101.  
  102.     #!/bin/sh
  103.     LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
  104.     export LD_LIBRARY_PATH
  105.  
  106.     exec /usr/local/bin/gimp.real
  107.  
  108.     Don't forget to "chmod +rx" the wrapper.
  109.  
  110.  
  111.   - Unpack the gimp-data archive.
  112.  
  113.  
  114.   - Run "./configure" and "make install".
  115.  
  116.  
  117.   - Put all the data files into gimp-0.99.10:
  118.  
  119.     - cd /usr/local/share/gimp
  120.  
  121.     - mv 0.99.9/* 0.99.10
  122.  
  123.     - rmdir 0.99.9
  124.  
  125.  
  126.   - "scoinst" leaves permissions funny on a lot of files.
  127.     Check the following files:
  128.  
  129.     - All .h files under /usr/local/include        (Should be 444)
  130.  
  131.     - All dirs under /usr/local/include        (Should be 555)
  132.  
  133.     - /usr/local/info/gtk.*
  134.       /usr/local/info/pdb.*                (Should be 444)
  135.  
  136.     - /usr/local/lib/libg*                (Should be 644)
  137.  
  138.     - All dirs & files under /usr/local/lib/gimp    (Should be 755)
  139.  
  140.     - /usr/local/bin/gimp*                (Should be 755)
  141.  
  142.     - /usr/local/share/gimp/0.99.10/user_install    (Should be 755)
  143.  
  144.     - Everything else below /usr/local/share/gimp    (Files should be 644,
  145.                              dir's should be 755)
  146.  
  147.     Everything should have owner/group bin/bin.
  148.  
  149.  
  150. *******
  151.